/*
 * @Author: chengsl
 * @Date: 2023-01-10 14:57:07
 * @LastEditors: chengsl
 * @LastEditTime: 2023-01-10 14:58:32
 * @Description: 热力图 widgetHeatmap
 */
export default {
  title: {
    text: '',
    show: true,
    left: 'center',
    textStyle: { color: '#fff', fontSize: 16, fontWeight: 'normal' },
    subtext: '',
    subtextStyle: { color: '', fontWeight: 'normal', fontSize: 16 }
  },
  tooltip: {
    trigger: 'item',
    position: 'top',
    show: true,
    textStyle: { fontSize: 16 }
  },
  grid: { left: 10, right: 40, bottom: 10, top: 50, containLabel: true },
  xAxis: {
    type: 'category',
    show: false,
    name: '',
    nameTextStyle: { color: '#fff', fontSize: 14 },
    inverse: false,
    axisLabel: {
      show: true,
      interval: 0,
      rotate: 0,
      textStyle: { color: '#fff', fontSize: 14 }
    },
    axisLine: { show: true, lineStyle: { color: '#fff' } },
    splitArea: { show: false },
    data: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
  },
  yAxis: {
    type: 'category',
    show: false,
    name: '',
    nameTextStyle: { color: '#fff', fontSize: 14 },
    inverse: false,
    axisLabel: {
      show: true,
      rotate: 0,
      textStyle: { color: '#fff', fontSize: 14 }
    },
    axisLine: { show: true, lineStyle: { color: '#fff' } },
    splitArea: { show: false },
    data: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
  },
  visualMap: {
    show: true,
    min: 0,
    max: 5000,
    calculable: true,
    orient: 'horizontal',
    left: 'center',
    bottom: 'top',
    inRange: {
      color: [
        '#0060FF',
        '#3BD6FF',
        '#948BEA',
        '#F78D94',
        '#FF7A45',
        '#FCBB61',
        '#36CFC0'
      ]
    },
    textStyle: { fontSize: 12, color: '#fff' },
    top: 'top',
    itemWidth: 12
  },
  series: [
    {
      name: '',
      type: 'heatmap',
      data: [
        ['0', '0', 3320],
        ['0', '1', 1561],
        ['0', '2', 3194],
        ['0', '3', 2899],
        ['0', '4', 2363],
        ['0', '5', 3945],
        ['0', '6', 2051],
        ['0', '7', 3657],
        ['0', '8', 3304],
        ['0', '9', 2990],
        ['1', '9', 2663],
        ['1', '0', 378],
        ['1', '1', 4076],
        ['1', '2', 3178],
        ['1', '3', 1501],
        ['1', '4', 1660],
        ['1', '5', 726],
        ['1', '6', 4148],
        ['1', '7', 720],
        ['1', '8', 430],
        ['2', '9', 2983],
        ['2', '0', 1917],
        ['2', '1', 1188],
        ['2', '2', 3581],
        ['2', '3', 1781],
        ['2', '4', 4725],
        ['2', '5', 4077],
        ['2', '6', 299],
        ['2', '7', 4828],
        ['2', '8', 1778],
        ['3', '9', 3171],
        ['3', '0', 2944],
        ['3', '1', 763],
        ['3', '2', 1678],
        ['3', '3', 1765],
        ['3', '4', 2949],
        ['3', '5', 966],
        ['3', '6', 4622],
        ['3', '7', 2818],
        ['3', '8', 3913],
        ['4', '9', 4382],
        ['4', '0', 1670],
        ['4', '1', 4532],
        ['4', '2', 2116],
        ['4', '3', 2383],
        ['4', '4', 510],
        ['4', '5', 33],
        ['4', '6', 4974],
        ['4', '7', 3627],
        ['4', '8', 2737],
        ['5', '9', 656],
        ['5', '0', 3689],
        ['5', '1', 713],
        ['5', '2', 3551],
        ['5', '3', 3159],
        ['5', '4', 4150],
        ['5', '5', 1416],
        ['5', '6', 3021],
        ['5', '7', 1778],
        ['5', '8', 863],
        ['6', '9', 772],
        ['6', '0', 1675],
        ['6', '1', 1323],
        ['6', '2', 2023],
        ['6', '3', 43],
        ['6', '4', 4964],
        ['6', '5', 4781],
        ['6', '6', 2608],
        ['6', '7', 2278],
        ['6', '8', 3285],
        ['7', '9', 1977],
        ['7', '0', 882],
        ['7', '1', 2434],
        ['7', '2', 4694],
        ['7', '3', 3022],
        ['7', '4', 1798],
        ['7', '5', 2503],
        ['7', '6', 693],
        ['7', '7', 275],
        ['7', '8', 3774],
        ['8', '9', 1386],
        ['8', '0', 1212],
        ['8', '1', 1982],
        ['8', '2', 1509],
        ['8', '3', 94],
        ['8', '4', 2082],
        ['8', '5', 3930],
        ['8', '6', 4528],
        ['8', '7', 1861],
        ['8', '8', 4582],
        ['9', '9', 3038],
        ['9', '0', 4038],
        ['9', '1', 357],
        ['9', '2', 306],
        ['9', '3', 479],
        ['9', '4', 823],
        ['9', '5', 3442],
        ['9', '6', 904],
        ['9', '7', 399],
        ['9', '8', 4869]
      ],
      label: {
        show: true,
        textStyle: { fontSize: 14, color: '#fff', fontWeight: 'normal' }
      },
      emphasis: {
        itemStyle: { shadowBlur: 10, shadowColor: 'rgba(0, 0, 0, 0.5)' }
      }
    }
  ]
}
